package com.beamfield.enums;

public enum HttpResultEnum {
	
	SUCCESS("200","success"),
	MIS_PARAM("500","缺少参数"),
	EXCEPTION("500","系统异常"),
	TOKEN_FAILURE("403","token failure"),
	;
	
	private String code;
	
	private String message;

	private HttpResultEnum(String code, String message) {
		this.code = code;
		this.message = message;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
